var name = 'white';

function special() {
  console.log('Name: ' + this.name);
}

var girl = {
  name: 'Red',
  detail: function() {
    console.log('Name: ' + this.name);
  },
  woman: {
    name: 'Yellow',
    detail: function() {
      console.log('Name: ' + this.name);
    },
  },
  special: special,

}

girl.detail();
girl.woman.detail();
girl.special();